//
//  OrderModel.m
//  wtshoppingcite
//
//  Created by TW on 14-12-9.
//  Copyright (c) 2014年 TW. All rights reserved.
//

#import "OrderModel.h"

@implementation OrderModel

- (id)initWithOrderInfo:(NSDictionary *)info{
    if(self = [super init]){
        id orderTotal = [info objectForKey:@"orderTotal"];
        self.orderTotal = ObjToString(orderTotal);
        
        id news = [info objectForKey:@"news"];
        self.news = ObjToString(news);
        
        id paids = [info objectForKey:@"paids"];
        self.paids = ObjToString(paids);
        
        id deliverds = [info objectForKey:@"deliverds"];
        self.deliverds = ObjToString(deliverds);
        
        id finisheds = [info objectForKey:@"finisheds"];
        self.finisheds = ObjToString(finisheds);
    }
    return self;
}

@end
